package com.ruoyi.clothing.service;

import java.util.List;
import com.ruoyi.clothing.domain.SysOrderGoods;

/**
 * 订单Service接口
 * 
 * @author weh
 * @date 2024-01-04
 */
public interface ISysOrderGoodsService 
{
    /**
     * 查询订单
     * 
     * @param id 订单主键
     * @return 订单
     */
    public SysOrderGoods selectSysOrderGoodsById(Long id);

    /**
     * 查询订单列表
     * 
     * @param sysOrderGoods 订单
     * @return 订单集合
     */
    public List<SysOrderGoods> selectSysOrderGoodsList(SysOrderGoods sysOrderGoods);

    /**
     * 新增订单
     * 
     * @param sysOrderGoods 订单
     * @return 结果
     */
    public int insertSysOrderGoods(SysOrderGoods sysOrderGoods);

    /**
     * 修改订单
     * 
     * @param sysOrderGoods 订单
     * @return 结果
     */
    public int updateSysOrderGoods(SysOrderGoods sysOrderGoods);

    /**
     * 批量删除订单
     * 
     * @param ids 需要删除的订单主键集合
     * @return 结果
     */
    public int deleteSysOrderGoodsByIds(Long[] ids);

    /**
     * 删除订单信息
     * 
     * @param id 订单主键
     * @return 结果
     */
    public int deleteSysOrderGoodsById(Long id);
}
